package com.kevis.zhunblog.admin.controller.modules.sys;

import com.kevis.webCommon.constant.ControllerConstant;
import com.kevis.zhunblog.admin.controller.base.BaseController;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * 接口文档控制器
 *
 * @Author kevis
 * @Date 2023/4/14 17:22
 */
@RestController
@Api(tags = "接口文档")
@RequestMapping(ControllerConstant.API_SYSTEM_PREFIX + "doc")
public class SysDocController extends BaseController {
    private final String MODULE_PATH= "system/doc/";

    /**
     * Swagger 首页
     * @return
     */
    @GetMapping("main")
    public ModelAndView main(){
        return jumpPage(MODULE_PATH + "main");
    }
}
